package com.ziyun.erp.common.e.logistics;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * 物流类型枚举类
 * 0.快递;1.紫云;2.其他
 * @author 桂朝
 * @date 2018/8/14 10:19
 */
public enum LogisticsTypeEnum implements BaseEnum {
    LOGISTICS(0, "快递"),
    ZIYUN(1, "紫云"),
    OTHERS(2, "其他"),
    ;

    private int id;
    private String describe;

    LogisticsTypeEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
